package componentes;
import javax.swing.ButtonGroup;
import javax.swing.JRadioButton;

public class CompBotonGrupo extends ButtonGroup
{
   
   public CompBotonGrupo(JRadioButton...pBotonesRadio)
   {
      for(JRadioButton radioBoton: pBotonesRadio)
         add(radioBoton);
   }
   
   public CompBotonGrupo(CompRadioBoton...pBotonesRadio)
   {
      for(CompRadioBoton radioBoton: pBotonesRadio)
         add(radioBoton);
   }
}
